package com.andaily.domain.dto.cooking;

import com.andaily.domain.shared.paginated.DefaultPaginated;

import java.math.BigDecimal;

/**
 * @author Shengzhao Li
 */
public class CookingSettlementHistoryDto extends DefaultPaginated<CookingSettlementDto> {

    private BigDecimal totalAmount = BigDecimal.ZERO;
    private int totalAccountSize;

    public CookingSettlementHistoryDto() {
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public int getTotalAccountSize() {
        return totalAccountSize;
    }

    public void update(BigDecimal totalAmount, int totalAccountSize) {
        this.totalAmount = totalAmount;
        this.totalAccountSize = totalAccountSize;
    }
}
